GBML manual / Constants

PATH_LOOP

Jumps back to the start and keeps going.

Syntax

PATH_LOOP: constant

Description

The end action that jumps back to the path's own start and keeps going, forever repeating the same loop. See Rooms's own "Paths, briefly" section for how this compares to the other three end actions.

Example

path_start(path_doc_patrol, 1, PATH_LOOP, false);

Starts the walker along path_doc_patrol and sends it back to the start the instant it reaches the end - the shape a patrolling enemy usually wants.

See also: path_end_dopath_startRooms